package com.itheima.reggie.service;

import com.itheima.reggie.common.PageResult;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService {
    void saveWithDish(SetmealDto setmealDto);

    PageResult<SetmealDto> findPage(int page, int pageSize, String name);

    void deleteWithDish(List<Long> ids);

    R<String> uploadStatus(Integer status, List<Long> ids);

    void updateWithFlavor(SetmealDto setmealDto);

    SetmealDto findById(Long id);

    List<Setmeal> list(Setmeal setmeal);
}
